package cn.wolfcode.wolf2w.elasticsearch.service.impl;


import cn.wolfcode.wolf2w.elasticsearch.domain.TravelEs;
import cn.wolfcode.wolf2w.elasticsearch.repository.TravelEsRepository;
import cn.wolfcode.wolf2w.elasticsearch.service.ITravelEsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TravelEsServiceImpl implements ITravelEsService {


    @Autowired
    private TravelEsRepository repository;


    @Override
    public void save(TravelEs travelEs) {
        repository.save(travelEs);
    }
}
